package xyj.sparrow.scheduler.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 后面得抽出来
 *
 * @author 江南小俊
 * @since 2021/6/21 下午11:32
 **/
@ConfigurationProperties(prefix = "xyj.sparrow")
@Data
public class Model {
    /**
     * 模式：
     * 单机 single
     * 集群 cluster
     **/
    private String model;
    private final String SINGLE = "single";
    private final String CLUSTER = "cluster";
}
